package cb.wzby;

import java.util.LinkedList;

public class LinkedList1 {
    public static void main(String[] args) {
        //集合LinkedList
        LinkedList<String> l = new LinkedList<>();
        l.add("java");
        l.add(0,"php");
        l.addFirst("well");
        l.push("why");
        System.out.println(l);
    }
}
